 import request from '@/utils/request'

 let AgentPorductApi = {
    /*列表*/
   getList(data, errorback) {
        return request._postBody('/supplier/activity/agent/product/index', data, errorback);
    },
    editProduct(data, errorback) {
        return request._postBody('/supplier/activity/agent/product/edit', data, errorback);
    },
    setAgent(data, errorback) {
        return request._post('/supplier/activity/agent/product/setAgent', data, errorback);
    },
   toEditProduct(data, errorback) {
     return request._get('/supplier/activity/agent/product/toEdit', data, errorback);
   },
}

export default AgentPorductApi;
